export default {
    name: 'comment',
    data() {
        return {
            comments: []
        }
    },
    created() {
        this.axios.defaults.headers.common['Authorization'] = localStorage['token']
        this.axios.get('api/getOrdersComment')
            .then(res => {
                this.comments = res.data.data
                console.log('comments: ', res.data);
            })
    }
}